//
//  KXUIButton.h
//  KXFrd
//
//  Created by liu feng on 12-2-6.
//  Copyright (c) 2012年 kaixin001. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SDWebImageManager.h"
#import "KXImageAnimation.h"

@interface KXUIButton : UIButton <SDWebImageManagerDelegate>
{
    KXIMAGE_ANIMATION_TYPE imageAnimationType;
    BOOL showAnimation;
}

@property(nonatomic,assign) KXIMAGE_ANIMATION_TYPE imageAnimationType;

- (void)setImageWithURL:(NSString *)url;

- (void)setImageWithURL:(NSString *)url 
       placeholderImage:(UIImage *)placeholder;

- (void)cancelCurrentImageLoad;

@end